	<section class="wrapper">
				<!-- page start-->
				<section class="panel">
					<header class="panel-heading"> Profile </header>
					<div class="panel-body">
						<form class="form-horizontal" role="form" 
						name="banner" method="POST" enctype="multipart/form-data"
				action="<?= base_url();?>secure/member/profile/update_profile"
						>
						<?php
								$this->session->flashdata('message'); {
									$msg = $this->session->flashdata('message');
									echo '<font color="red">' . $msg . '</font>';
								}
								?>

							<div class="form-group">
								<label for="input" class="col-lg-2 control-label">Name</label>
								<div class="col-lg-7">
									<input type="text" class="form-control" id="admin_name" name="admin_name"
										value="<?= $profile['details']->name;?>">
								</div>
							</div>


							<div class="form-group">
								<label for="input" class="col-lg-2 control-label">Profile Picture</label>
								<div class="col-lg-5">
									<input type="file" class="form-control" name="userfile" value="Browse" >
								</div>
								<div class="col-lg-2">
									<img alt="" width="50px" height="35px" src="<?= base_url();?>assets/images/<?= $profile['details']->image;?>">
								</div>
								<div class="col-lg-2">
									<span class="text text-info">(Profile picture should be width :45px and height: 45px)</span>
								</div>
								
							</div>
							<div class="form-group">
								<div class="col-lg-offset-2 col-lg-10">
								<input type="hidden" name="type" value="<?= $profile['details']->type;?>"> 
									<input type="submit" name="upload" class="btn btn-danger" value="Update Profile">
								</div>
							</div>


						</form>
					</div>
					<!-- End of Body Panel -->
				</section>
				<!-- page end-->
			</section>
		